#include "Controls/Button.h"
#include "Controls/TextBlock.h"
#include "cinder/Rect.h"
#include <memory>
namespace cxgui
{
using namespace std;
using namespace ci;
Button::Button()
	: ContentControl()
{
	SetPadding(5.f);
}

Button::Button(const string& text )
	: ContentControl()
{
	SetPadding(Rectf(10.f, 10.f, 10.f, 10.f));
	SetContent(make_shared<TextBlock>(text));
}

Button::~Button()
{
}

}